package com.yida.gwj.common.service.impl;

import com.yida.gwj.common.domain.dto.GwjBaseHouseBusinessDTO;
import com.yida.gwj.common.mapper.GwjBaseBusinessMapper;
import com.yida.gwj.common.service.IGwjBaseBusinessService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 业务编号Service业务层处理
 *
 * @author lqq
 * @date 2022-11-14
 */
@Service
public class GwjBaseBusinessServiceImpl implements IGwjBaseBusinessService {

	@Resource
	private GwjBaseBusinessMapper businessMapper;

	/**
	 * 查询基础房屋所涉及的所有业务
	 *
	 * @param houseCode 房屋编号
	 * @param areaId    地区ID
	 * @return /
	 */
	@Override
	public List<GwjBaseHouseBusinessDTO> selectHouseBusinessListByHouseCodeAndAreaId(String houseCode, Long areaId) {
		return businessMapper.selectHouseBusinessListByHouseCodeAndAreaId(houseCode, areaId);
	}


}
